using System;
using System.Collections.Generic;
//using System.Text;

using CMS.Core.Domain;

namespace CMS.Presenters
{
    public interface IUserGroupView
    {
        IList<NhomNguoiSuDung> GroupList { set; get; }

        String TenNhom { set; get;}
        String MoTa { set; get;}
        String VaiTro { set; get;}
        String MaChucNang { get;}
        IList<ChucNang> ChucNangs { set;}
        IList<VaiTro> VaiTroList { set;}
        IList<ChucNang> ChucNangList { set;}
        Boolean TrangThai { set; get;}
        bool IsRole { get; set; }
        /// <summary>
        /// Event raised when the view is initialized. 
        /// </summary>
        event EventHandler Init;

        /// <summary>
        /// Event raised when the view is loaded. 
        /// This is a good place to load the view's 
        /// initial state from the model.
        /// </summary>
        event EventHandler Load;
        /// <summary>
        /// Determines whether or not the current 
        /// request is a postback.
        /// </summary>
        bool IsPostBack { get; }

        /// <summary>
        /// Indicates to the view that it should refresh itself 
        /// via data binding.
        /// </summary>
        void DataBind();


        /// <summary>
        /// Returns true if the view form input values 
        /// are valid.  Note that the presenter may 
        /// also choose to validate the values. This 
        /// is merely for first pass validation.
        /// </summary>
        bool IsValid { get;}

    }
}
